using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class ApPymt
    {
        public ApPymt()
        {
            this.ApPaydets = new List<ApPaydet>();
        }

        public string BATCH { get; set; }
        public string ID { get; set; }
        public string CHECK { get; set; }
        public Nullable<double> AMOUNT { get; set; }
        public Nullable<double> AMOUNTDOL { get; set; }
        public Nullable<System.DateTime> DATE { get; set; }
        public string REFERENCE { get; set; }
        public string ENTITY { get; set; }
        public string CASHACCT { get; set; }
        public Nullable<short> VENDCUR { get; set; }
        public Nullable<double> CASHAMOUNT { get; set; }
        public Nullable<double> AMOUNTACCT { get; set; }
        public short CURRENCY { get; set; }
        public short PAYERTYPE { get; set; }
        public string PV { get; set; }
        public string DESCR { get; set; }
        public Nullable<short> CSTCTRID { get; set; }
        public string File_Primary_Key { get; set; }
        public virtual Acct Acct { get; set; }
        public virtual ICollection<ApPaydet> ApPaydets { get; set; }
        public virtual Batchttl Batchttl { get; set; }
        public virtual Cstctr Cstctr { get; set; }
    }
}
